using Cysharp.Threading.Tasks;
using UnityEngine;

namespace Dream
{
    public class UnitaskTEST : MonoBehaviour
    {
        private void Start()
        {
            Debug.Log("Start");
            test();
            Debug.Log("EndStart");
        }

        // Update is called once per frame
        private void Update()
        {
        }

        private async UniTaskVoid test()
        {
            Debug.Log("开始等待");
            // await UniTask.Delay(3000);
            Debug.Log("结束等等待");
        }
    }
}